
<%@page contentType="text/html" pageEncoding="UTF-8" session = "true"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Edicion Horas Extra</title>
    </head>
    <script type="text/javascript">
        function soloNumeros(e){
var key = window.Event ? e.which : e.keyCode
return ((key >= 48 && key <= 57) || (key==8))
                               }
    </script>
    <body>
        <Body Bgcolor="#000000">
        <form method="post" action="hextra">
            <table align="center">
                <tr>
                    <td colspan="2"><font color="white">
                        Edicion de horas extra para un empleado
                    </td></font>
                </tr>
                <tr>
                    <td>
                        <font color="white">
                        Codigo de empleado
                        </font>
                    </td>
                    <td>
                        <input type="text" name="empleado" onKeyPress="return soloNumeros(event)"/>
                    </td>
                </tr>
                <tr>
                    <td><font color="white">
                        Numero Horas a Agregar
                    </td></font>
                    <td>
                        <input type="text" name="horas" onKeyPress="return soloNumeros(event)"/>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <input type="submit" value="Proceder"/>
                    </td>
                </tr>
            </table>
        </form>
         <form method="post" action="Listar">
            <table align="center">
                <tr>
                    <td colspan="2">
                        <input type="submit" value="Ver lista de empleados a cargo"/>
                        <input type="button" value="Cerrar sesiòn" onClick=" window.location.href='Cerrar.jsp' ">
                    </td>
                </tr>
            </table>
        </form>
    </body>
</html>
